/**index.scss**/
page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
}

.scrollarea {
  flex: 1;
  overflow-y: auto;
}

.container {
  padding: 16px;
  box-sizing: border-box;
}

.card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  box-sizing: border-box;
  width: 100%;
}

.file-and-language {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.file-section,
.language-section {
  width: 100%;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.select-button {
  width: 90%;
  padding: 12px;
  border-radius: 8px;
  border: 0.5px solid #e0e0e0; // 减小边框宽度
  background-color: #f9f9f9;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.3s ease;

  &:active {
    background-color: #e0e0e0;
  }
}

.icon {
  margin-right: 8px;
  font-size: 16px;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
  display: block;
  color: #333;
}

.result-text {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.download-button {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background-color: #2196F3;
  color: white;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;

  &:active {
    background-color: #1e88e5;
    transform: scale(0.98);
  }
}

.translate-button {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  transition: all 0.3s ease;

  &:active {
    background-color: #45a049;
    transform: scale(0.98);
  }
}

.icon {
  margin-right: 8px;
  font-size: 18px;
}

.version-info {
  text-align: center;
  padding: 16px;
  font-size: 12px;
  color: #999;
}
